<!DOCTYPE html>
<html lang="en" xmlns:zxw="http://www.w3school.com.cn"  >
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>首页</title>
    <link rel="stylesheet" href="../../js/common/layui/css/layui.css">
    <link rel="stylesheet" href="../../css/common/animate.css" />
    <link rel="stylesheet" href="../../css/common/common.css" />
</head>
<body class="layout-zxw zxw-body  layout-zxw-add" >
<div class="layui-form" >
    <form action="" class="zxw-search">
        <div class="layui-row">
            <zxw:input id="manage_id" name="manage_id" inline="true" placeholder="请输入老师姓名" parcel="true" parcelName="老师姓名" ></zxw:input>
            <zxw:radio id="support_ptrainer" name="support_ptrainer" inline="true" field_value_key="values" field_name_key="name" url="YESORNO" isItem="true"  parcel="true"
                       parcelName="支持私教"></zxw:radio>
            <zxw:input id="oper_date" type="date" dateopt='{"range":"至"}' width="285px" name="oper_date" inline="true"
                       placeholder="请选择操作时间" parcel="true" parcelName="录入日期"></zxw:input>
            <!--<zxw:radio id="ptrainer_scheduling" name="ptrainer_scheduling"  field_value_key="values" field_name_key="name" inline="true"  url="YESORNO" isItem="true" placeholder="请输入私教排课"-->
                       <!--parcel="true" parcelName="私教排课" ></zxw:radio>-->
                <zxw:bnt type="query" control="teacherAttr/queryPage" tableid="teacherAttrTable" title="查询" ></zxw:bnt>
                <zxw:bnt type="add" control="teacherAttr/save" url="/manager/teacherAttr/add.html" title="新增" ></zxw:bnt>
                <zxw:bnt type="import" control="teacherAttr/import" url="MY_URL.TEACHERATTR.IMPORT" template="填写你的xlx模板文件地址/html/开头" title="导入" ></zxw:bnt>
            </div>
        </div>
    </form>
    <hr />
    <div class="zxw-list" >
        <div class="zxw-table-tool" id="zxw-table-tool"  >
            <zxw:bnt type="delete" class="layui-btn-xs" ico="" control="teacherAttr/delete" url="MY_URL.TEACHERATTR.DELETE" title="批量删除" ></zxw:bnt>
        </div>
        <zxw:table cellMinWidth="10" class="zxw_table layui-table layui-hide" page="true" loading="true" url="MY_URL.TEACHERATTR.QUERYPAGE" id="teacherAttrTable" >
            <zxw:thead class="zxw_head" >
                <zxw:tr class="zxw_tr">
                    <zxw:th class="zxw_th" type="checkbox" fixed="left" ></zxw:th>
                    <zxw:th class="zxw_th" field="manage_id" sort="true" title="老师姓名" ></zxw:th>
                    <zxw:th class="zxw_th" item="YESORNO" field="support_ptrainer" sort="true" title="是否支持私教" ></zxw:th>
                    <zxw:th class="zxw_th" item="YESORNO" field="ptrainer_scheduling" sort="true" title="私教排课" ></zxw:th>
                    <zxw:th class="zxw_th" item="SCHEDULE.CLASS.TYPE" field="class_type" sort="true" title="排课类型" ></zxw:th>
                    <zxw:th class="zxw_th" item="YESORNO" field="limit_classes" sort="true" title="限制老师每天可上私教课节数" ></zxw:th>
                    <zxw:th class="zxw_th" field="league_fee" sort="true" title="团课费用分" ></zxw:th>
                    <zxw:th class="zxw_th" field="price" sort="true" title="底薪" ></zxw:th>
                    <zxw:th class="zxw_th" field="private_classes" sort="true" title="私教课授课百分比" ></zxw:th>
                    <zxw:th class="zxw_th" field="oper_id" sort="true" title="操作人姓名" ></zxw:th>
                    <zxw:th class="zxw_th" field="oper_date" sort="true" title="录入时间" ></zxw:th>
                    <zxw:th fixed="right" width="180px" class="">
                        <zxw:handle title="查看" control="teacherAttr/queryId" name="query" fun="" url="/manager/teacherAttr/add.html" ></zxw:handle>
                        <zxw:handle title="编辑" control="teacherAttr/queryId" name="edit" fun="" url="/manager/teacherAttr/add.html" ></zxw:handle>
                        <zxw:handle title="删除" control="teacherAttr/delete" name="delete" class="layui-btn-danger" url="MY_URL.TEACHERATTR.DELETE" ></zxw:handle>
                    </zxw:th>
                </zxw:tr>
            </zxw:thead>
        </zxw:table>
    </div>
</div>
<script type="application/javascript" src="../../js/common/own/own.js?layui,jquery,njzxw,URL,myurl,myconfig" >
    njzxw.layui.init();
</script>
</body>
</html>